package com.homework.domain;

/*
    文章表
*/
public class Article {

    private Integer id;
    //标题
    private String headline;
    //内容
    private String content;

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", headline='" + headline + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHeadline() {
        return headline;
    }

    public void setHeadline(String headline) {
        this.headline = headline;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
